<?php
/*
mScorer (mLabs-Impetus)
Copyright (c) 2009-2010
All rights reserved.
*/

class MY_Controller extends Controller 
{
	
	public function __construct()
	{
		parent::__construct();
	}
	
		function isLoggedIn()
	{
		$session_login = $this->session->userdata('login_session');
		if($session_login['logged_in'])
			return true;
		else
			return false;
	}
	
	function logout()
	{
		$this->session->unset_userdata('login_session');
		redirect('admin');
	}
	
	
}
?>
